summaryrefslogtreecommitdiffstats
path: root/src/yuzu/util/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/util/util.cpp')
-rw-r--r--src/yuzu/util/util.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/util/util.cpp b/src/yuzu/util/util.cpp
index 9755004ad..7b2a47496 100644
--- a/src/yuzu/util/util.cpp
+++ b/src/yuzu/util/util.cpp
@@ -42,7 +42,7 @@ QPixmap CreateCirclePixmapFromColor(const QColor& color) {
return circle_pixmap;
}
-bool SaveIconToFile(const QImage& image, const std::filesystem::path& icon_path) {
+bool SaveIconToFile(const std::filesystem::path& icon_path, const QImage& image) {
#if defined(WIN32)
#pragma pack(push, 2)
struct IconDir {
@@ -142,7 +142,6 @@ bool SaveIconToFile(const QImage& image, const std::filesystem::path& icon_path)
} else {
LOG_INFO(Frontend, "Wrote an icon to {}", icon_path.string());
}
-
return true;
#else
return false;